<?php
header('content-type:text/html;charset=utf-8');
require_once($_SITE_PATH_.'m/m_tasklist.php');
$type=isset($_POST['apitype'])?$_POST['apitype']:'';
//获取推送失败的数据记录的ID数据
$m_tasklist=new m_tasklist();
$m_tasklist->_ssql='select `id`,`product_id` from tasklist where `product_id`!="" and excuflag != "1" and ts_flag != "1" and `ts_type`="'.$type.'" order by `id` asc ';
$error=$m_tasklist->getArray($m_tasklist->query());
$error=json_encode($error);
echo $error;
exit;
?>